package com.sun.hunk.hibernate.domain.impl;

import com.sun.hunk.hibernate.domain.*;

/**
 *
 * @author sunil
 */
public class DomainFactory {

    public static Link getLink() {
        return new LinkImpl();
    }

    public static Link getLink(Long id) {
        return new LinkImpl(id);
    }

    public static CodeType getCodeType() {
        return new CodeTypeImpl();
    }

    public static CodeType getCodeType(Long id) {
        return new CodeTypeImpl(id);
    }

    public static Category getCategory() {
        return new CategoryImpl();
    }

    public static Comment getComment() {
        return new CommentImpl();
    }

    public static Item getItem() {
        return new ItemImpl();
    }
    public static Purchase getPurchase() {
        return new PurchaseImpl();
    }
    public static Sales getSales() {
        return new SalesImpl();
    }
    public static Item getItem(Long id) {
        return new ItemImpl(id);
    }

    public static User getUser() {
        return new UserImpl();
    }
    public static Invoice getInvoice() {
        return new InvoiceImpl();
    }
    public static Charge getCharge() {
        return new ChargeImpl();
    }
    public static GenericCode getGenericCode() {
        return new GenericCodeImpl();
    }
    public static Client getClient() {
        return new ClientImpl();
    }
}
